package hci;

import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;

import javax.swing.JFrame;


/**
 * Pattern adapter "case 2" -> used to clean the code of the frames
 * 
 * <p>
 * <ul>
 * <li>Project: 	ChatSystemG3</li>
 * </ul>
 * </p>
 * 
 * @author COMBES Nicolas - LECHANTRE Arnaud
 * @see JFrame
 * @see WindowListener
 * @see ChatGui
 */
@SuppressWarnings("serial")
public class JFrameAdapter extends JFrame implements WindowListener{

	/**
	 * construct
	 * @param string : Name of the frame
	 */
	public JFrameAdapter(String string) {
		super(string);
	}

	@Override
	public void windowActivated(WindowEvent e) {}

	@Override
	public void windowClosed(WindowEvent e) {}

	@Override
	public void windowClosing(WindowEvent e) {}

	@Override
	public void windowDeactivated(WindowEvent e) {}

	@Override
	public void windowDeiconified(WindowEvent e) {}

	@Override
	public void windowIconified(WindowEvent e) {}

	@Override
	public void windowOpened(WindowEvent e) {}

}
